package Laboratorio;

import java.io.*;

public class creaFile {

	private static BufferedReader b;

	public static void main(String[] args) throws IOException {
		FileOutputStream file = new FileOutputStream("prova.txt");
		PrintWriter scrivi = new PrintWriter(file);
		scrivi.println("ngula chi te muartu");
		scrivi.println("suuuuuuuca");
		scrivi.close();
		FileReader f = new FileReader("prova.txt");
		b = new BufferedReader(f);
		String s;
		s = b.readLine();
		System.out.println(s);
		s = b.readLine();
		System.out.println(s);
	}
}